<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>你到底饿了么</title>
    <link rel="stylesheet" href="/css/css.css">
 
    <script src="/js/config.js"></script>
    <script src="/js/tool/index.js"></script>
    <script src="/js/js.js"></script>
</head>

<body>
    
</body>
<script>
    setFonsize();
    // 响应式布局,动态设置rem
    window.onresize = function(){
      
     
      setFonsize();
    }
    function setFonsize(){
      let screenWidth = document.documentElement.clientWidth;
      document.querySelector('html').style.fontSize = `${screenWidth/750*100}px`;
      // console.log(screenWidth/750*100);
    }
    window.onload = function(){
      window.location.href = `/pages/city/city.html`
      TabBar();
    }

  </script>
</html>